package org.example.juc;

/**
 * @author 张琪
 * @date 2024/4/16 15:09
 */
public class ThreadUnsafe {
    private int cnt = 0;

    public void add() {
        cnt++;
    }

    public int get() {
        return cnt;
    }


}
